#ifndef PBR_TEXTURE_SAMPLE_H
#define PBR_TEXTURE_SAMPLE_H
#include "SampleBase.h"
#include "glslprogram.h"
#include "sphere.h"
#include <glm\glm.hpp>
namespace ShaderLab {
	class PBRTextureSample : public SampleBase {
	public:
		PBRTextureSample();
		~PBRTextureSample();

		void Init();
		void Update(float time);
		void Render();
		void Imgui();
		void ShutDown();
	private:
		void CreateShader();
	private:
		GLSLProgram program;
		std::unique_ptr<Sphere> sphere;
		glm::mat4 model, view, projection;
		GLuint albedo, normal, metallic, roughness, ao;
		glm::vec3 lightPositions;
		glm::vec3 lightColors;
	};
}
#endif // !TEMPLATE_SAMPLE_H
